﻿//-----------------------------------------------------------------------
// <copyright file="Customer.cs" company="FER">
//     Copyright (c) All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace NMBP.Models
{
    using NMBP.Models.Enums;

    /// <summary>
    /// Represents one customer
    /// </summary>
    public class Customer : Person
    {
        /// <summary>
        /// Gets or sets bank cards number
        /// </summary>
        public string BankCardNumber { get; set; }

        /// <summary>
        /// Gets or sets buyers cart
        /// </summary>
        public Cart Cart { get; set; }

        /// <summary>
        /// Gets or sets prefferd payment for customer
        /// </summary>
        public PaymentMethod PrefferedPayment { get; set; }

        /// <summary>
        /// Gets or sets value indicating whether user is in cart
        /// </summary>
        public bool IsInCart { get; set; }
    }
}
